<?php

namespace app\yunda\validate;
use think\Validate;
class Ticket extends Validate
{
    //定义验证规则
    protected $rule = [
        'type|券类型' => 'require',
        'discount|折扣金额' => 'require',

    ];

    //定义验证提示
    protected $message = [
//        'config_name.unique' => '配置标识必须唯一',

    ];

    protected $scene=[
//        'edit'=>['config_value'=>'require',],
    ];

}
